package com.mtnz.njk.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

@Data
@Table(name = "post_special")
public class PostSpecialEntity {
    @Column(name = "special_id")
    private String specialId;
    private String special;
    private String message;
    private Integer sort;
    private String views;
    private String replies;
    @Column(name = "user_id")
    private String userId;
    @Column(name = "top_status")
    private String topStatus;
    private String name;
    private String img;
    @Column(name = "cover_img")
    private String coverImg;
    @Column(name = "cover_img2")
    private String coverImg2;
    private String number;

    @Transient
    private Integer total;
}
